package com.xyz.rok.tools.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xyz.rok.tools.mapper.UserUnionMapper;
import com.xyz.rok.tools.model.UserUnion;
import com.xyz.rok.tools.service.UserUnionService;
@Service
public class UserUnionServiceImpl implements UserUnionService{

    @Resource
    private UserUnionMapper userUnionMapper;

    @Override
    public int deleteByPrimaryKey(Long userId,Long unionId) {
        return userUnionMapper.deleteByPrimaryKey(userId,unionId);
    }

    @Override
    public int insert(UserUnion record) {
        return userUnionMapper.insert(record);
    }

    @Override
    public int insertSelective(UserUnion record) {
        return userUnionMapper.insertSelective(record);
    }

}
